package com.ld.service;

import com.ld.api.rpc.UserSupportService;
import com.ld.entity.User;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service(version = "1.0")
public class UserSupportServiceImpl implements UserSupportService {

    @Autowired
    private IUserService userService;

    @Override
    public User selectUserByUserName(String userName) {

        return userService.selectUserByUserName(userName);
    }

    @Override
    public Boolean updateUserById(User user) {
       return userService.updateById(user);
    }


}
